package model

import "go.mongodb.org/mongo-driver/bson/primitive"

//配料记录
type IngredientRecord struct {
	Id              primitive.ObjectID `bson:"_id,omitempty" json:"_id" form:"_id"`
	Batch_Number    string             `bson:"batch_number" binding:"required" form:"batch_number" json:"batch_number"`
	Norms_Type      string             `bson:"norms_type"  form:"norms_type" json:"norms_type"`
	Divisions       string             `bson:"divisions" binding:"required" form:"divisions" json:"divisions"`
	Class           string             `bson:"class" binding:"required" form:"class" json:"class"`
	Operator        string             `bson:"operator" binding:"required" form:"operator" json:"operator"`
	Pot_Number      string             `bson:"pot_number" binding:"required" form:"pot_number" json:"pot_number"`
	Baiting_Time    string             `bson:"baiting_time" form:"baiting_time" json:"baiting_time"`
	Oil_Time        string             `bson:"oil_time" form:"oil_time" json:"oil_time"`
	First_AddOil    float32            `bson:"first_addOil" json:"first_addOil" form:"first_addOil"`
	Second_AddOil   float32            `bson:"second_addOil" json:"second_addOil" form:"second_addOil"`
	Out_Boiler_Time string             `bson:"out_boiler_time" form:"out_boiler_time" json:"out_boiler_time"`
	Desc            string             `bson:"desc" form:"desc" json:"desc"`
	Creator         string             `bson:"creator" json:"creator" form:"creator"`       //创建者
	CreatedAt       string             `bson:"createdAt" json:"createdAt" form:"createdAt"` //后端生成时间
	Describe        string             `bson:"describe" json:"describe" form:"describe"`    //描述
}
